package com.dotflat.survey.po;

import com.aliyun.openservices.shade.org.apache.commons.lang3.builder.HashCodeExclude;
import com.dotflat.rest.PO.AreableObjectBasePO;
import com.dotflat.rest.domain.AreableObjectBase;
import com.dotflat.survey.domain.SurveyAnswer;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;

@Data
@EqualsAndHashCode(callSuper = true)
public class SurveyAnswerItemPO extends AreableObjectBasePO {

    @ApiModelProperty("题目id")
    private String itemId;

    @ApiModelProperty(value = "序号", hidden = true)
    private String seq;

    @ApiModelProperty("选项index")
    private Integer optionIndex;


    @ApiModelProperty(value = "问卷id", hidden = true)
    private String sheetId;

    @ApiModelProperty(value = "答题卡id", hidden = true)
    private String answerId;

    @ApiModelProperty(value = "题目内容", hidden = true)
    private String itemTitle;

    @ApiModelProperty("文本内容，多选内容，选择内容")
    private String value;
}
